<?php

/**
 +-----------------------------------------------------
 * PublicModel
 +-----------------------------------------------------
 * @author	liuricheng 
 * @time	2014-03-13
 * @type	[add]
 * 
 */
import("ORG.Util.Function");


class PaymentModel extends CommonModel{
	
	/**
	 * 取得支付方式信息
	 * @param   int     $pay_id     支付方式id
	 * @return  array   支付方式信息
	 */
	function payment_info($pay_id){
	    $sql 	= 	'SELECT * FROM ' . 'ybr_payment' .
	            	" WHERE pay_id = '$pay_id' AND enabled = 1";
	    return $this->getRow($sql);
	}
	
	
}